package cn.vconinfo.database.inner.enums;


/**
 * Title:DataSourceTypeEnum
 *
 * @author angla
 **/
public enum  DataSourceTypeEnum {

//    DATA_SOURCE_MASTER(1,"master"),
//    DATA_SOURCE_SLAVE(2,"slave");

    DATA_SOURCE_MASTER("master","master"),
    DATA_SOURCE_SLAVE("slave","slave"),
    DATA_SOURCE_OBEY("obey","obey");

    DataSourceTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    private String code;

    private String name;

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}